\(\int \frac {a+b \log (c (d+e \sqrt [3]{x})^n)}{x} \, dx\) [446]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [F]
   Fricas [F]
   Sympy [F]
   Maxima [B] (verification not implemented)
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 22, antiderivative size = 51 \[ \int \frac {a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )}{x} \, dx=3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \log \left (-\frac {e \sqrt [3]{x}}{d}\right )+3 b n \operatorname {PolyLog}\left (2,1+\frac {e \sqrt [3]{x}}{d}\right ) \]

[Out]

3*(a+b*ln(c*(d+e*x^(1/3))^n))*ln(-e*x^(1/3)/d)+3*b*n*polylog(2,1+e*x^(1/3)/d)

Rubi [A] (verified)

Time = 0.04 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {2504, 2441, 2352} \[ \int \frac {a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )}{x} \, dx=3 \log \left (-\frac {e \sqrt [3]{x}}{d}\right ) \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right )+3 b n \operatorname {PolyLog}\left (2,\frac {\sqrt [3]{x} e}{d}+1\right ) \]

[In]

Int[(a + b*Log[c*(d + e*x^(1/3))^n])/x,x]

[Out]

3*(a + b*Log[c*(d + e*x^(1/3))^n])*Log[-((e*x^(1/3))/d)] + 3*b*n*PolyLog[2, 1 + (e*x^(1/3))/d]

Rule 2352

Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> Simp[(-e^(-1))*PolyLog[2, 1 - c*x], x] /; FreeQ[{c, d, e
}, x] && EqQ[e + c*d, 0]

Rule 2441

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))/((f_.) + (g_.)*(x_)), x_Symbol] :> Simp[Log[e*((f + g
*x)/(e*f - d*g))]*((a + b*Log[c*(d + e*x)^n])/g), x] - Dist[b*e*(n/g), Int[Log[(e*(f + g*x))/(e*f - d*g)]/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n}, x] && NeQ[e*f - d*g, 0]

Rule 2504

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[I
nt[x^(Simplify[(m + 1)/n] - 1)*(a + b*Log[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p,
 q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) &&  !(EqQ[q, 1] && ILtQ[n, 0] &&
 IGtQ[m, 0])

Rubi steps \begin{align*} \text {integral}& = 3 \text {Subst}\left (\int \frac {a+b \log \left (c (d+e x)^n\right )}{x} \, dx,x,\sqrt [3]{x}\right ) \\ & = 3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \log \left (-\frac {e \sqrt [3]{x}}{d}\right )-(3 b e n) \text {Subst}\left (\int \frac {\log \left (-\frac {e x}{d}\right )}{d+e x} \, dx,x,\sqrt [3]{x}\right ) \\ & = 3 \left (a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )\right ) \log \left (-\frac {e \sqrt [3]{x}}{d}\right )+3 b n \text {Li}_2\left (1+\frac {e \sqrt [3]{x}}{d}\right ) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.00 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.04 \[ \int \frac {a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )}{x} \, dx=3 b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right ) \log \left (-\frac {e \sqrt [3]{x}}{d}\right )+a \log (x)+3 b n \operatorname {PolyLog}\left (2,\frac {d+e \sqrt [3]{x}}{d}\right ) \]

[In]

Integrate[(a + b*Log[c*(d + e*x^(1/3))^n])/x,x]

[Out]

3*b*Log[c*(d + e*x^(1/3))^n]*Log[-((e*x^(1/3))/d)] + a*Log[x] + 3*b*n*PolyLog[2, (d + e*x^(1/3))/d]

Maple [F]

\[\int \frac {a +b \ln \left (c \left (d +e \,x^{\frac {1}{3}}\right )^{n}\right )}{x}d x\]

[In]

int((a+b*ln(c*(d+e*x^(1/3))^n))/x,x)

[Out]

int((a+b*ln(c*(d+e*x^(1/3))^n))/x,x)

Fricas [F]

\[ \int \frac {a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )}{x} \, dx=\int { \frac {b \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n} c\right ) + a}{x} \,d x } \]

[In]

integrate((a+b*log(c*(d+e*x^(1/3))^n))/x,x, algorithm="fricas")

[Out]

integral((b*log((e*x^(1/3) + d)^n*c) + a)/x, x)

Sympy [F]

\[ \int \frac {a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )}{x} \, dx=\int \frac {a + b \log {\left (c \left (d + e \sqrt [3]{x}\right )^{n} \right )}}{x}\, dx \]

[In]

integrate((a+b*ln(c*(d+e*x**(1/3))**n))/x,x)

[Out]

Integral((a + b*log(c*(d + e*x**(1/3))**n))/x, x)

Maxima [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 166 vs. \(2 (44) = 88\).

Time = 0.34 (sec) , antiderivative size = 166, normalized size of antiderivative = 3.25 \[ \int \frac {a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )}{x} \, dx=-3 \, {\left (\log \left (\frac {e x^{\frac {1}{3}}}{d} + 1\right ) \log \left (x^{\frac {1}{3}}\right ) + {\rm Li}_2\left (-\frac {e x^{\frac {1}{3}}}{d}\right )\right )} b n + \frac {4 \, b d^{2} \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n}\right ) \log \left (x\right ) + 4 \, {\left (b d^{2} \log \left (c\right ) + a d^{2}\right )} \log \left (x\right ) + \frac {2 \, b e^{2} n x \log \left (x\right ) - 3 \, b e^{2} n x}{x^{\frac {1}{3}}} - \frac {4 \, {\left (b d e n x \log \left (x\right ) - 3 \, b d e n x\right )}}{x^{\frac {2}{3}}}}{4 \, d^{2}} + \frac {3 \, {\left (b e^{2} n x^{\frac {2}{3}} - 4 \, b d e n x^{\frac {1}{3}} - 2 \, {\left (b e^{2} n x^{\frac {2}{3}} - 2 \, b d e n x^{\frac {1}{3}}\right )} \log \left (x^{\frac {1}{3}}\right )\right )}}{4 \, d^{2}} \]

[In]

integrate((a+b*log(c*(d+e*x^(1/3))^n))/x,x, algorithm="maxima")

[Out]

-3*(log(e*x^(1/3)/d + 1)*log(x^(1/3)) + dilog(-e*x^(1/3)/d))*b*n + 1/4*(4*b*d^2*log((e*x^(1/3) + d)^n)*log(x)
+ 4*(b*d^2*log(c) + a*d^2)*log(x) + (2*b*e^2*n*x*log(x) - 3*b*e^2*n*x)/x^(1/3) - 4*(b*d*e*n*x*log(x) - 3*b*d*e
*n*x)/x^(2/3))/d^2 + 3/4*(b*e^2*n*x^(2/3) - 4*b*d*e*n*x^(1/3) - 2*(b*e^2*n*x^(2/3) - 2*b*d*e*n*x^(1/3))*log(x^
(1/3)))/d^2

Giac [F]

\[ \int \frac {a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )}{x} \, dx=\int { \frac {b \log \left ({\left (e x^{\frac {1}{3}} + d\right )}^{n} c\right ) + a}{x} \,d x } \]

[In]

integrate((a+b*log(c*(d+e*x^(1/3))^n))/x,x, algorithm="giac")

[Out]

integrate((b*log((e*x^(1/3) + d)^n*c) + a)/x, x)

Mupad [F(-1)]

Timed out. \[ \int \frac {a+b \log \left (c \left (d+e \sqrt [3]{x}\right )^n\right )}{x} \, dx=\int \frac {a+b\,\ln \left (c\,{\left (d+e\,x^{1/3}\right )}^n\right )}{x} \,d x \]

[In]

int((a + b*log(c*(d + e*x^(1/3))^n))/x,x)

[Out]

int((a + b*log(c*(d + e*x^(1/3))^n))/x, x)